﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EyFramework.ORM;
using SqlSugar;
using ShuJuGj.Entity;

namespace tjyyjl.Core.Service
{
    /// <summary>
    ///  TJ_TJYYJL表的相关服务接口
    /// </summary>
    public interface ITjTjyyjlService : IBaseTjService
    {
        List<TjTjyyjl> GetListBy(Inquire inquire);

        bool Insert(List<TjTjyyjl> results);

        bool updateState(TjTjyyjl tjTjyyjl);

        /// <summary>
        /// 获取浙里办token
        /// </summary>
        /// <returns></returns>
        String GetToken();

        /// <summary>
        /// 获取退休token
        /// </summary>
        /// <returns></returns>
        String GetToken_TX();

        /// <summary>
        /// 浙里办数据同步
        /// </summary>
        /// <param name="token"></param>
        /// <param name="body"></param>
        /// <returns></returns>
        String GetData(String token, String body);

        /// <summary>
        /// 退休数据同步
        /// </summary>
        /// <param name="token"></param>
        /// <param name="body"></param>
        /// <returns></returns>
        String GetData_TX(String token, String body);

        void SetData(String token, string requestId, string serialNumber);

        void SetData_TX(String token, string requestId, string serialNumber);

        bool Complete(String token, string serialNumber);

        bool Complete_TX(String token, string serialNumber);
    }
}